package com.qf.before;

import org.springframework.aop.ThrowsAdvice;

/**
 * @author Ypl
 * @version V1.0
 * @Project September-mavens
 * @Package com.qf.before
 * @Description:
 * @Date 2022/9/27 19:06
 */
@SuppressWarnings("all")
public class MyMethodThrows implements ThrowsAdvice {

    public void afterThrowing(Exception e){

        e.printStackTrace();
        System.out.println("异常增强");
    }
}
